﻿using Freshbooks.XmlSerializers;

namespace Freshbooks.Model
{
    [FreshbooksSerialization(Name = "task")]
    public class Task
    {
        [FreshbooksSerialization(Name = "task_id")]
        public int TaskId { get; set; }

        [FreshbooksSerialization(Name = "name")]
        public string Name { get; set; }

        [FreshbooksSerialization(Name = "description")]
        public string Description { get; set; }

        [FreshbooksSerialization(Name = "billable")]
        public bool Billable { get; set; }

        [FreshbooksSerialization(Name = "rate")]
        public float Rate { get; set; }
    }
}
